//Konfig w eepromie, wartosci domyslne

//Funkcje
// EEPROM reader/writers
// Utilities for writing and reading from the EEPROM
byte readEEPROM(int address) {

    return EEPROM.read(address);
}

void writeEEPROM(byte value, int address) {
    EEPROM.write(address, value);
}


//Adresy
#define UART_SPEED_ADDR 0
#define PAL_NTSC_ADDR 2


//Zapis wartosci
void write_settings() {

writeEEPROM (uart_speed, UART_SPEED_ADDR);
writeEEPROM (1, PAL_NTSC_ADDR);
};

